#include"Log.h" 

Log *Log::_instance = 0;

Log::Log(): QPlainTextEdit(){
	
}

Log *Log::instance(){
	if(_instance==0)
		_instance = new Log;
	return _instance;
}

void Log::log(QString text){
// 	if(!text.endsWith('\n'))
// 		text.append('\n');
	appendPlainText(text);
}